package com.liujun.spring4x.demo.web.vo.restful;

/**
 * resuful bean
 *
 * @author liujun
 * @version 0.0.1
 * @date 2018/10/18
 */
public class MonitorRestFul extends InstanceInfo {

  /** timestamp curr info */
  private long timestamp;

  /** insert row num */
  private long insertRows;

  /** update row num */
  private long updateRows;

  /** delete row num */
  private long deleteRows;

  /** uprow num */
  private long ukRows;

  /** total num */
  private long totalRows;

  public long getInsertRows() {
    return insertRows;
  }

  public void setInsertRows(long insertRows) {
    this.insertRows = insertRows;
  }

  public long getUpdateRows() {
    return updateRows;
  }

  public void setUpdateRows(long updateRows) {
    this.updateRows = updateRows;
  }

  public long getDeleteRows() {
    return deleteRows;
  }

  public void setDeleteRows(long deleteRows) {
    this.deleteRows = deleteRows;
  }

  public long getUkRows() {
    return ukRows;
  }

  public void setUkRows(long ukRows) {
    this.ukRows = ukRows;
  }

  public long getTotalRows() {
    return totalRows;
  }

  public void setTotalRows(long totalRows) {
    this.totalRows = totalRows;
  }

  public long getTimestamp() {
    return timestamp;
  }

  public void setTimestamp(long timestamp) {
    this.timestamp = timestamp;
  }

  @Override
  public String toString() {
    final StringBuilder sb = new StringBuilder("MonitorRestFul{");

    sb.append("InstanceInfo=").append(super.toString());
    sb.append("timestamp=").append(timestamp);
    sb.append(", insertRows=").append(insertRows);
    sb.append(", updateRows=").append(updateRows);
    sb.append(", deleteRows=").append(deleteRows);
    sb.append(", ukRows=").append(ukRows);
    sb.append(", totalRows=").append(totalRows);
    sb.append('}');
    return sb.toString();
  }
}
